{
    "$schema": "http://json-schema.org/draft-04/schema#",
    "$ref": "#/definitions/TrafficLog",
    "definitions": {
        "TrafficLog": {
            "properties": {
                "sources": {
                    "items": {
                        "$ref": "#/definitions/kuma.mesh.v1alpha1.Selector"
                    },
                    "type": "array",
                    "description": "List of selectors to match dataplanes that are sources of traffic."
                },
                "destinations": {
                    "items": {
                        "$ref": "#/definitions/kuma.mesh.v1alpha1.Selector"
                    },
                    "type": "array",
                    "description": "List of selectors to match services that are destinations of traffic."
                },
                "conf": {
                    "$ref": "#/definitions/kuma.mesh.v1alpha1.TrafficLog.Conf",
                    "additionalProperties": true,
                    "description": "Configuration of the logging."
                }
            },
            "additionalProperties": true,
            "type": "object",
            "title": "Traffic Log",
            "description": "TrafficLog defines log for traffic between dataplanes."
        },
        "kuma.mesh.v1alpha1.Selector": {
            "properties": {
                "match": {
                    "additionalProperties": {
                        "type": "string"
                    },
                    "type": "object",
                    "description": "Tags to match, can be used for both source and destinations"
                }
            },
            "additionalProperties": true,
            "type": "object",
            "title": "Selector",
            "description": "Selector defines structure for selecting tags for given dataplane"
        },
        "kuma.mesh.v1alpha1.TrafficLog.Conf": {
            "properties": {
                "backend": {
                    "type": "string",
                    "description": "Backend defined in the Mesh entity."
                }
            },
            "additionalProperties": true,
            "type": "object",
            "title": "Conf",
            "description": "Configuration defines settings of the logging."
        }
    }
}